<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TValue类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_value.html">TValue</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_t_value-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TValue类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2cbbc518fc088d992a1d2966b782ae26"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a2cbbc518fc088d992a1d2966b782ae26">TValue</a> (long <a class="el" href="classawtk_1_1_t_value.html#aac4f093763cfe193cce5cac21afe7d23">nativeObj</a>)</td></tr>
<tr class="separator:a2cbbc518fc088d992a1d2966b782ae26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8290dbdaecad27fa34f66ba39810a67d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a8290dbdaecad27fa34f66ba39810a67d">setBool</a> (boolean value)</td></tr>
<tr class="separator:a8290dbdaecad27fa34f66ba39810a67d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69c27042578084fd3a027e13929ddd5d"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a69c27042578084fd3a027e13929ddd5d">bool</a> ()</td></tr>
<tr class="separator:a69c27042578084fd3a027e13929ddd5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab184e9b0f8bb482eb251ba9f770eaef9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ab184e9b0f8bb482eb251ba9f770eaef9">setInt8</a> (int value)</td></tr>
<tr class="separator:ab184e9b0f8bb482eb251ba9f770eaef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96859b44fd51cb3eb3b70a3f1e64dcca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a96859b44fd51cb3eb3b70a3f1e64dcca">int8</a> ()</td></tr>
<tr class="separator:a96859b44fd51cb3eb3b70a3f1e64dcca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaf740df4f4d92aab79880350ca03fc8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#afaf740df4f4d92aab79880350ca03fc8">setUint8</a> (int value)</td></tr>
<tr class="separator:afaf740df4f4d92aab79880350ca03fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac03f64ae363915f6e8f188b67e7eaea7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ac03f64ae363915f6e8f188b67e7eaea7">uint8</a> ()</td></tr>
<tr class="separator:ac03f64ae363915f6e8f188b67e7eaea7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bc96e755c548e51abe47e24bc2267f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a4bc96e755c548e51abe47e24bc2267f6">setInt16</a> (int value)</td></tr>
<tr class="separator:a4bc96e755c548e51abe47e24bc2267f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38ba646794294635c970f39c761e1f69"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a38ba646794294635c970f39c761e1f69">int16</a> ()</td></tr>
<tr class="separator:a38ba646794294635c970f39c761e1f69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8095f47e87dac0f586de8cddb544465"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ad8095f47e87dac0f586de8cddb544465">setUint16</a> (int value)</td></tr>
<tr class="separator:ad8095f47e87dac0f586de8cddb544465"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5757f705a332b510ae97b07ca464ea87"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a5757f705a332b510ae97b07ca464ea87">uint16</a> ()</td></tr>
<tr class="separator:a5757f705a332b510ae97b07ca464ea87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88e33a0e826be8f884e4fa32511e39e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a88e33a0e826be8f884e4fa32511e39e1">setInt32</a> (int value)</td></tr>
<tr class="separator:a88e33a0e826be8f884e4fa32511e39e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accbb6cc65d0e9c758b26fd981d35b34f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#accbb6cc65d0e9c758b26fd981d35b34f">int32</a> ()</td></tr>
<tr class="separator:accbb6cc65d0e9c758b26fd981d35b34f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcbe22b4f2187c4ce40a87cfa2d6f789"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#adcbe22b4f2187c4ce40a87cfa2d6f789">setUint32</a> (int value)</td></tr>
<tr class="separator:adcbe22b4f2187c4ce40a87cfa2d6f789"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25e9e6f9e9e1085394ea7fc34b161790"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a25e9e6f9e9e1085394ea7fc34b161790">setInt64</a> (long value)</td></tr>
<tr class="separator:a25e9e6f9e9e1085394ea7fc34b161790"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6d257aea9e23f54c1a6eed397f40816"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ab6d257aea9e23f54c1a6eed397f40816">int64</a> ()</td></tr>
<tr class="separator:ab6d257aea9e23f54c1a6eed397f40816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a737407bc702fa71f1f376d8582a58fe6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a737407bc702fa71f1f376d8582a58fe6">setUint64</a> (long value)</td></tr>
<tr class="separator:a737407bc702fa71f1f376d8582a58fe6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab967cb6dd676265d3198312eb4005a60"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ab967cb6dd676265d3198312eb4005a60">uint64</a> ()</td></tr>
<tr class="separator:ab967cb6dd676265d3198312eb4005a60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef20ee06bfda74b43c0f01f1e815af5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a2ef20ee06bfda74b43c0f01f1e815af5">setFloat</a> (double value)</td></tr>
<tr class="separator:a2ef20ee06bfda74b43c0f01f1e815af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23f178a76c82c73f35a0c7f2533970c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ac23f178a76c82c73f35a0c7f2533970c">float32</a> ()</td></tr>
<tr class="separator:ac23f178a76c82c73f35a0c7f2533970c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5d64e6f6eff81b9a261b0cb74e3f11e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ae5d64e6f6eff81b9a261b0cb74e3f11e">setFloat64</a> (double value)</td></tr>
<tr class="separator:ae5d64e6f6eff81b9a261b0cb74e3f11e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d18fd7ff3ac4f708fa35a5a08a82df0"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a9d18fd7ff3ac4f708fa35a5a08a82df0">float64</a> ()</td></tr>
<tr class="separator:a9d18fd7ff3ac4f708fa35a5a08a82df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5473dbbafd3d2f0221b3a43b4392d61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#aa5473dbbafd3d2f0221b3a43b4392d61">setStr</a> (String value)</td></tr>
<tr class="separator:aa5473dbbafd3d2f0221b3a43b4392d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad36adbd7e5a6e542265204bebdea4741"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#ad36adbd7e5a6e542265204bebdea4741">str</a> ()</td></tr>
<tr class="separator:ad36adbd7e5a6e542265204bebdea4741"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec77344bd38d25e91bd6d432c4ce0006"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#aec77344bd38d25e91bd6d432c4ce0006">strEx</a> (String buff, int size)</td></tr>
<tr class="separator:aec77344bd38d25e91bd6d432c4ce0006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac52008370f21b0d23cf8349ce4ffd18"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#aac52008370f21b0d23cf8349ce4ffd18">isNull</a> ()</td></tr>
<tr class="separator:aac52008370f21b0d23cf8349ce4ffd18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2690be5b7eceede966b08d0c98803152"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a2690be5b7eceede966b08d0c98803152">setInt</a> (int value)</td></tr>
<tr class="separator:a2690be5b7eceede966b08d0c98803152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af168ef5292316d4925193fb853406839"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#af168ef5292316d4925193fb853406839">setObject</a> (<a class="el" href="classawtk_1_1_t_object.html">TObject</a> value)</td></tr>
<tr class="separator:af168ef5292316d4925193fb853406839"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a6ca7a8d19057cf3d220d4e5d89e3d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_object.html">TObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a1a6ca7a8d19057cf3d220d4e5d89e3d3">object</a> ()</td></tr>
<tr class="separator:a1a6ca7a8d19057cf3d220d4e5d89e3d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a108416d079ec19f525d5a9b760d2d6d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a108416d079ec19f525d5a9b760d2d6d8">setToken</a> (int value)</td></tr>
<tr class="separator:a108416d079ec19f525d5a9b760d2d6d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b803e07699d193dffe8079f724b8bef"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a4b803e07699d193dffe8079f724b8bef">token</a> ()</td></tr>
<tr class="separator:a4b803e07699d193dffe8079f724b8bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2344d2251cefb497b33ab33db50c5748"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a2344d2251cefb497b33ab33db50c5748">destroy</a> ()</td></tr>
<tr class="separator:a2344d2251cefb497b33ab33db50c5748"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7deeb294b0288dd4313c5985d999bd2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#af7deeb294b0288dd4313c5985d999bd2">reset</a> ()</td></tr>
<tr class="separator:af7deeb294b0288dd4313c5985d999bd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a349514e114eb0eac624f7d3872213f6d"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a349514e114eb0eac624f7d3872213f6d">id</a> ()</td></tr>
<tr class="separator:a349514e114eb0eac624f7d3872213f6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e0528a02beef27ff562191e9cd635e"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a51e0528a02beef27ff562191e9cd635e">func</a> ()</td></tr>
<tr class="separator:a51e0528a02beef27ff562191e9cd635e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee36e9b638b37fe9eae0d58cc9557bf2"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#aee36e9b638b37fe9eae0d58cc9557bf2">funcDef</a> ()</td></tr>
<tr class="separator:aee36e9b638b37fe9eae0d58cc9557bf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a691b1412a6df86a9545a69c9c7361766"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a691b1412a6df86a9545a69c9c7361766">bitmap</a> ()</td></tr>
<tr class="separator:a691b1412a6df86a9545a69c9c7361766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a636ddc6b2e4d539fe5927b68de7a08a3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_t_rect.html">TRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a636ddc6b2e4d539fe5927b68de7a08a3">rect</a> ()</td></tr>
<tr class="separator:a636ddc6b2e4d539fe5927b68de7a08a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a873afddc2d0bc0f9d4fff4da39a87363"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a873afddc2d0bc0f9d4fff4da39a87363">cast</a> (long <a class="el" href="classawtk_1_1_t_value.html#aac4f093763cfe193cce5cac21afe7d23">nativeObj</a>)</td></tr>
<tr class="separator:a873afddc2d0bc0f9d4fff4da39a87363"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a848713ead3059f9952c27aef048cb0b2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a848713ead3059f9952c27aef048cb0b2">create</a> ()</td></tr>
<tr class="separator:a848713ead3059f9952c27aef048cb0b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2826592676f548ef861a92a4ec3b00c8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#a2826592676f548ef861a92a4ec3b00c8">cast</a> (<a class="el" href="classawtk_1_1_t_value.html">TValue</a> value)</td></tr>
<tr class="separator:a2826592676f548ef861a92a4ec3b00c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aac4f093763cfe193cce5cac21afe7d23"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_value.html#aac4f093763cfe193cce5cac21afe7d23">nativeObj</a></td></tr>
<tr class="separator:aac4f093763cfe193cce5cac21afe7d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>一个通用数据类型，用来存放整数、浮点数、字符串和其它对象。</p>
<p>在C/C++中，一般不需动态创建对象，直接声明并初始化即可。如：</p>
<blockquote class="doxtable">
<p>在脚本语言中，需要动态创建对象。 </p>
</blockquote>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a2cbbc518fc088d992a1d2966b782ae26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cbbc518fc088d992a1d2966b782ae26">&#9670;&nbsp;</a></span>TValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TValue.TValue </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a691b1412a6df86a9545a69c9c7361766"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a691b1412a6df86a9545a69c9c7361766">&#9670;&nbsp;</a></span>bitmap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.bitmap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为位图对象。</p>
<dl class="section return"><dt>返回</dt><dd>位图对象。 </dd></dl>

</div>
</div>
<a id="a69c27042578084fd3a027e13929ddd5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69c27042578084fd3a027e13929ddd5d">&#9670;&nbsp;</a></span>bool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TValue.bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为bool的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a873afddc2d0bc0f9d4fff4da39a87363"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a873afddc2d0bc0f9d4fff4da39a87363">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="a2826592676f548ef861a92a4ec3b00c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2826592676f548ef861a92a4ec3b00c8">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.cast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_value.html">TValue</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为value对象。</p>
<blockquote class="doxtable">
<p>供脚本语言使用 </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>value对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a848713ead3059f9952c27aef048cb0b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a848713ead3059f9952c27aef048cb0b2">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建value对象。</p>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a2344d2251cefb497b33ab33db50c5748"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2344d2251cefb497b33ab33db50c5748">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TValue.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac23f178a76c82c73f35a0c7f2533970c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac23f178a76c82c73f35a0c7f2533970c">&#9670;&nbsp;</a></span>float32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double awtk.TValue.float32 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为float的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a9d18fd7ff3ac4f708fa35a5a08a82df0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d18fd7ff3ac4f708fa35a5a08a82df0">&#9670;&nbsp;</a></span>float64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double awtk.TValue.float64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为double的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a51e0528a02beef27ff562191e9cd635e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51e0528a02beef27ff562191e9cd635e">&#9670;&nbsp;</a></span>func()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.func </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为func的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="aee36e9b638b37fe9eae0d58cc9557bf2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee36e9b638b37fe9eae0d58cc9557bf2">&#9670;&nbsp;</a></span>funcDef()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.funcDef </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为func_def的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a349514e114eb0eac624f7d3872213f6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349514e114eb0eac624f7d3872213f6d">&#9670;&nbsp;</a></span>id()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TValue.id </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为ID的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a38ba646794294635c970f39c761e1f69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38ba646794294635c970f39c761e1f69">&#9670;&nbsp;</a></span>int16()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.int16 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为int16的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="accbb6cc65d0e9c758b26fd981d35b34f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accbb6cc65d0e9c758b26fd981d35b34f">&#9670;&nbsp;</a></span>int32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.int32 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为int32的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="ab6d257aea9e23f54c1a6eed397f40816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6d257aea9e23f54c1a6eed397f40816">&#9670;&nbsp;</a></span>int64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.int64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为int64的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a96859b44fd51cb3eb3b70a3f1e64dcca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96859b44fd51cb3eb3b70a3f1e64dcca">&#9670;&nbsp;</a></span>int8()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.int8 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为int8的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="aac52008370f21b0d23cf8349ce4ffd18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac52008370f21b0d23cf8349ce4ffd18">&#9670;&nbsp;</a></span>isNull()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TValue.isNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>判断value是否为空值。</p>
<dl class="section return"><dt>返回</dt><dd>为空值返回TRUE，否则返回FALSE。 </dd></dl>

</div>
</div>
<a id="a1a6ca7a8d19057cf3d220d4e5d89e3d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1a6ca7a8d19057cf3d220d4e5d89e3d3">&#9670;&nbsp;</a></span>object()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_object.html">TObject</a> awtk.TValue.object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为object的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a636ddc6b2e4d539fe5927b68de7a08a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a636ddc6b2e4d539fe5927b68de7a08a3">&#9670;&nbsp;</a></span>rect()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_rect.html">TRect</a> awtk.TValue.rect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为矩形区域数据。</p>
<dl class="section return"><dt>返回</dt><dd>返回矩形区域数据。 </dd></dl>

</div>
</div>
<a id="af7deeb294b0288dd4313c5985d999bd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7deeb294b0288dd4313c5985d999bd2">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TValue.reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>重置value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a8290dbdaecad27fa34f66ba39810a67d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8290dbdaecad27fa34f66ba39810a67d">&#9670;&nbsp;</a></span>setBool()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setBool </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为bool的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a2ef20ee06bfda74b43c0f01f1e815af5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ef20ee06bfda74b43c0f01f1e815af5">&#9670;&nbsp;</a></span>setFloat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setFloat </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为float_t的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ae5d64e6f6eff81b9a261b0cb74e3f11e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5d64e6f6eff81b9a261b0cb74e3f11e">&#9670;&nbsp;</a></span>setFloat64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setFloat64 </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为double的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a2690be5b7eceede966b08d0c98803152"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2690be5b7eceede966b08d0c98803152">&#9670;&nbsp;</a></span>setInt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setInt </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为int的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a4bc96e755c548e51abe47e24bc2267f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bc96e755c548e51abe47e24bc2267f6">&#9670;&nbsp;</a></span>setInt16()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setInt16 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为int16的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a88e33a0e826be8f884e4fa32511e39e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88e33a0e826be8f884e4fa32511e39e1">&#9670;&nbsp;</a></span>setInt32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setInt32 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为int32的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a25e9e6f9e9e1085394ea7fc34b161790"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25e9e6f9e9e1085394ea7fc34b161790">&#9670;&nbsp;</a></span>setInt64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setInt64 </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为int64的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ab184e9b0f8bb482eb251ba9f770eaef9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab184e9b0f8bb482eb251ba9f770eaef9">&#9670;&nbsp;</a></span>setInt8()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setInt8 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为int8的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="af168ef5292316d4925193fb853406839"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af168ef5292316d4925193fb853406839">&#9670;&nbsp;</a></span>setObject()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_object.html">TObject</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为object的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="aa5473dbbafd3d2f0221b3a43b4392d61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5473dbbafd3d2f0221b3a43b4392d61">&#9670;&nbsp;</a></span>setStr()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setStr </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为字符串的值(并拷贝字符串)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a108416d079ec19f525d5a9b760d2d6d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a108416d079ec19f525d5a9b760d2d6d8">&#9670;&nbsp;</a></span>setToken()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setToken </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为token的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ad8095f47e87dac0f586de8cddb544465"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8095f47e87dac0f586de8cddb544465">&#9670;&nbsp;</a></span>setUint16()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setUint16 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为uint16的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="adcbe22b4f2187c4ce40a87cfa2d6f789"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcbe22b4f2187c4ce40a87cfa2d6f789">&#9670;&nbsp;</a></span>setUint32()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setUint32 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为uint32的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="a737407bc702fa71f1f376d8582a58fe6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a737407bc702fa71f1f376d8582a58fe6">&#9670;&nbsp;</a></span>setUint64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setUint64 </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为uint64的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="afaf740df4f4d92aab79880350ca03fc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afaf740df4f4d92aab79880350ca03fc8">&#9670;&nbsp;</a></span>setUint8()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_t_value.html">TValue</a> awtk.TValue.setUint8 </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置类型为uint8的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>待设置的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>value对象本身。 </dd></dl>

</div>
</div>
<a id="ad36adbd7e5a6e542265204bebdea4741"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad36adbd7e5a6e542265204bebdea4741">&#9670;&nbsp;</a></span>str()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TValue.str </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为字符串的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="aec77344bd38d25e91bd6d432c4ce0006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec77344bd38d25e91bd6d432c4ce0006">&#9670;&nbsp;</a></span>strEx()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TValue.strEx </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为字符串的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">buff</td><td>用于格式转换的缓冲区（如果 v 对象为 string 类型的话，不会把字符串数据拷贝到 buff 中）。 </td></tr>
    <tr><td class="paramname">size</td><td>缓冲区大小。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a4b803e07699d193dffe8079f724b8bef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b803e07699d193dffe8079f724b8bef">&#9670;&nbsp;</a></span>token()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.token </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取token的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="a5757f705a332b510ae97b07ca464ea87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5757f705a332b510ae97b07ca464ea87">&#9670;&nbsp;</a></span>uint16()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.uint16 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为uint16的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="ab967cb6dd676265d3198312eb4005a60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab967cb6dd676265d3198312eb4005a60">&#9670;&nbsp;</a></span>uint64()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.uint64 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为uint64的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<a id="ac03f64ae363915f6e8f188b67e7eaea7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac03f64ae363915f6e8f188b67e7eaea7">&#9670;&nbsp;</a></span>uint8()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TValue.uint8 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取类型为uint8的值。</p>
<dl class="section return"><dt>返回</dt><dd>值。 </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="aac4f093763cfe193cce5cac21afe7d23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac4f093763cfe193cce5cac21afe7d23">&#9670;&nbsp;</a></span>nativeObj</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long awtk.TValue.nativeObj</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>原生对象。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TValue.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
